#ifndef __FTP_MGR_H__
#define __FTP_MGR_H__

#include "CommonDef.h"

class CFtpConnection;
class CConfigMgr;
class CFtpMgr
{
public:
	CFtpMgr();
	~CFtpMgr();

	BOOL ConnectFtp();
	BOOL DownloadFiles();
	BOOL UploadFile(const CString & strRemotePath, const CString & strFilePath);

	BOOL GetFileList(const CString & strPath, vector<CString>& vFileList);

	FTPDATA m_ftpdata;
	DOWNLOADDATA m_downloadData;
private:
	CFtpConnection * m_pFtpConnection;
	CConfigMgr * m_pConfigMgr;
};

#endif